(* Content-type: application/mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 7.0' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       145,          7]
NotebookDataLength[     17344,        663]
NotebookOptionsPosition[     12317,        482]
NotebookOutlinePosition[     12933,        506]
CellTagsIndexPosition[     12854,        501]
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[TextData[{
 "New in: ",
 Cell["0.0", "HistoryData",
  CellTags->"New"],
 " | Modified in: ",
 Cell[" ", "HistoryData",
  CellTags->"Modified"],
 " | Obsolete in: ",
 Cell[" ", "HistoryData",
  CellTags->"Obsolete"],
 " | Excised in: ",
 Cell[" ", "HistoryData",
  CellTags->"Excised"]
}], "History",
 CellID->1247902091],

Cell[CellGroupData[{

Cell["Categorization", "CategorizationSection",
 CellID->1122911449],

Cell["Symbol", "Categorization",
 CellLabel->"Entity Type",
 CellID->686433507],

Cell["MathMR", "Categorization",
 CellLabel->"Paclet Name",
 CellID->605800465],

Cell["MathMR`", "Categorization",
 CellLabel->"Context",
 CellID->468444828],

Cell["MathMR/ref/ConnectAbsorb", "Categorization",
 CellLabel->"URI"]
}, Closed]],

Cell[CellGroupData[{

Cell["Keywords", "KeywordsSection",
 CellID->477174294],

Cell["XXXX", "Keywords",
 CellID->1164421360]
}, Closed]],

Cell[CellGroupData[{

Cell["Syntax Templates", "TemplatesSection",
 CellID->1872225408],

Cell[BoxData[""], "Template",
 CellLabel->"Additional Function Template",
 CellID->1562036412],

Cell[BoxData[""], "Template",
 CellLabel->"Arguments Pattern",
 CellID->158391909],

Cell[BoxData[""], "Template",
 CellLabel->"Local Variables",
 CellID->1360575930],

Cell[BoxData[""], "Template",
 CellLabel->"Color Equal Signs",
 CellID->793782254]
}, Closed]],

Cell[CellGroupData[{

Cell["Details", "DetailsSection",
 CellID->307771771],

Cell["XXXX", "Details",
 CellLabel->"Lead",
 CellID->670882175],

Cell["XXXX", "Details",
 CellLabel->"Developers",
 CellID->350963985],

Cell["XXXX", "Details",
 CellLabel->"Authors",
 CellID->8391405],

Cell["XXXX", "Details",
 CellLabel->"Feature Name",
 CellID->3610269],

Cell["XXXX", "Details",
 CellLabel->"QA",
 CellID->401364205],

Cell["XXXX", "Details",
 CellLabel->"DA",
 CellID->350204745],

Cell["XXXX", "Details",
 CellLabel->"Docs",
 CellID->732958810],

Cell["XXXX", "Details",
 CellLabel->"Features Page Notes",
 CellID->222905350],

Cell["XXXX", "Details",
 CellLabel->"Comments",
 CellID->240026365]
}, Closed]],

Cell[CellGroupData[{

Cell["ConnectAbsorb", "ObjectName",
 CellID->1224892054],

Cell[TextData[{
 Cell["   ", "ModInfo"],
 Cell[BoxData[
  RowBox[{"ConnectAbsorb", "[", 
   RowBox[{"absorbedList_", ",", "element_"}], "]"}]], "InlineFormula"],
 " \[LineSeparator]test the wether the element is connected with the first \
element of the absorbed List. If is connected, the element is absorbed to the \
first element of the absorbed List, else it is append to the absorbedList. "
}], "Usage",
 CellChangeTimes->{{3.498691971418055*^9, 3.498691971418223*^9}, {
  3.498692655145193*^9, 3.498692661582094*^9}, {3.498692921498851*^9, 
  3.498693040090739*^9}},
 CellID->982511436],

Cell["XXXX", "Notes",
 CellID->1067943069]
}, Open  ]],

Cell[CellGroupData[{

Cell["Tutorials", "TutorialsSection",
 CellID->250839057],

Cell["XXXX", "Tutorials",
 CellID->341631938]
}, Open  ]],

Cell[CellGroupData[{

Cell["Related Demonstrations", "RelatedDemonstrationsSection",
 CellID->1268215905],

Cell["XXXX", "RelatedDemonstrations",
 CellID->1129518860]
}, Open  ]],

Cell[CellGroupData[{

Cell["Related Links", "RelatedLinksSection",
 CellID->1584193535],

Cell["XXXX", "RelatedLinks",
 CellID->1038487239]
}, Open  ]],

Cell[CellGroupData[{

Cell["See Also", "SeeAlsoSection",
 CellID->1255426704],

Cell[TextData[ButtonBox["GenerateLinkList",
 BaseStyle->"Link",
 ButtonData->"paclet:MathMR/ref/GenerateLinkList"]], "SeeAlso",
 CellChangeTimes->{{3.498691979469937*^9, 3.498691990576775*^9}},
 CellID->929782353],

Cell[TextData[ButtonBox["CoarseGrainClusters",
 BaseStyle->"Link",
 ButtonData->"paclet:MathMR/ref/CoarseGrainClusters"]], "SeeAlso",
 CellChangeTimes->{{3.498691988024648*^9, 3.49869198817631*^9}},
 CellID->1786859412]
}, Open  ]],

Cell[CellGroupData[{

Cell["More About", "MoreAboutSection",
 CellID->38303248],

Cell["XXXX", "MoreAbout",
 CellID->1665078683]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[GridBox[{
    {
     StyleBox["Examples", "PrimaryExamplesSection"], 
     ButtonBox[
      RowBox[{
       RowBox[{"More", " ", "Examples"}], " ", "\[RightTriangle]"}],
      BaseStyle->"ExtendedExamplesLink",
      ButtonData:>"ExtendedExamples"]}
   }],
  $Line = 0; Null]], "PrimaryExamplesSection",
 CellID->880084151],

Cell[CellGroupData[{

Cell[BoxData[{
 RowBox[{
  RowBox[{"exampleCoords", "=", 
   RowBox[{"LoadLattice", "[", 
    RowBox[{"\"\<Diamond\>\"", ",", "$DiamondLatticeConst", ",", 
     RowBox[{"{", 
      RowBox[{
       RowBox[{"{", 
        RowBox[{
         RowBox[{"-", "2"}], ",", "2"}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"-", "2"}], ",", "2"}], "}"}], ",", 
       RowBox[{"{", 
        RowBox[{
         RowBox[{"-", "2"}], ",", "2"}], "}"}]}], "}"}]}], "]"}]}], 
  ";"}], "\[IndentingNewLine]", 
 RowBox[{"exampleBath", "=", 
  RowBox[{"GenerateBath", "[", 
   RowBox[{"exampleCoords", ",", "$DiamondNatureAbundance", ",", "1"}], 
   "]"}]}]}], "Input",
 CellChangeTimes->{{3.498691371657192*^9, 3.498691410985039*^9}, 
   3.498691909241938*^9},
 CellLabel->"In[22]:=",
 CellID->1325140417],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{
     RowBox[{"-", "1.785`"}], ",", "1.785`", ",", "3.57`"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"0", ",", 
     RowBox[{"-", "1.785`"}], ",", 
     RowBox[{"-", "5.3549999999999995`"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"-", "3.57`"}], ",", "3.57`", ",", "3.57`"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"0.8925`", ",", 
     RowBox[{"-", "4.4624999999999995`"}], ",", "6.2475`"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"-", "3.57`"}], ",", 
     RowBox[{"-", "3.57`"}], ",", 
     RowBox[{"-", "7.14`"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
    "4.4624999999999995`", ",", "2.6774999999999998`", ",", 
     "9.817499999999999`"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"7.14`", ",", "8.924999999999999`", ",", 
     RowBox[{"-", "1.785`"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"-", "1.785`"}], ",", "8.924999999999999`", ",", 
     RowBox[{"-", "7.14`"}]}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"8.924999999999999`", ",", 
     RowBox[{"-", "7.14`"}], ",", "5.3549999999999995`"}], "}"}]}], 
  "}"}]], "Output",
 CellChangeTimes->{3.498691909643719*^9},
 CellLabel->"Out[23]=",
 CellID->1356564442]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"examplelklst", "=", 
  RowBox[{"GenerateLinkList", "[", 
   RowBox[{"exampleBath", ",", "8.0"}], "]"}]}]], "Input",
 CellChangeTimes->{{3.498691422113257*^9, 3.498691423807597*^9}, {
  3.498691463168857*^9, 3.498691490264514*^9}, {3.498691537478331*^9, 
  3.498691541902058*^9}, {3.498691636642919*^9, 3.49869164006564*^9}, {
  3.498691884134657*^9, 3.498691919646181*^9}},
 CellLabel->"In[26]:=",
 CellID->1763481981],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{"3", ",", "1"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"4", ",", "1"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"5", ",", "2"}], "}"}]}], "}"}]], "Output",
 CellChangeTimes->{{3.498691470656819*^9, 3.498691490577974*^9}, {
  3.498691537868624*^9, 3.498691542235463*^9}, {3.498691636895609*^9, 
  3.498691640424655*^9}, {3.498691884530326*^9, 3.498691920531327*^9}},
 CellLabel->"Out[26]=",
 CellID->1578360862]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"CoarseGrainClusters", "[", 
  RowBox[{"examplelklst", ",", "exampleBath"}], "]"}]], "Input",
 CellChangeTimes->{{3.498691888840328*^9, 3.498691916195911*^9}},
 CellLabel->"In[27]:=",
 CellID->1222740815],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"{", "9", "}"}], ",", 
   RowBox[{"{", "8", "}"}], ",", 
   RowBox[{"{", "7", "}"}], ",", 
   RowBox[{"{", "6", "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"5", ",", "2"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"1", ",", "3", ",", "4"}], "}"}]}], "}"}]], "Output",
 CellChangeTimes->{{3.498691916571993*^9, 3.49869192143947*^9}},
 CellLabel->"Out[27]=",
 CellID->1171682124]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"ConnectAbsorb", "[", 
  RowBox[{
   RowBox[{"examplelklst", "\[LeftDoubleBracket]", 
    RowBox[{"{", "1", "}"}], "\[RightDoubleBracket]"}], ",", 
   RowBox[{
   "examplelklst", "\[LeftDoubleBracket]", "2", "\[RightDoubleBracket]"}]}], 
  "]"}]], "Input",
 CellChangeTimes->{3.498692831019551*^9},
 CellLabel->"In[33]:=",
 CellID->1270624202],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{"{", 
   RowBox[{"1", ",", "3", ",", "4"}], "}"}], "}"}]], "Output",
 CellChangeTimes->{3.498692832902007*^9},
 CellLabel->"Out[33]=",
 CellID->705689351]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"ConnectAbsorb", "[", 
  RowBox[{
   RowBox[{"examplelklst", "\[LeftDoubleBracket]", 
    RowBox[{"{", "1", "}"}], "\[RightDoubleBracket]"}], ",", 
   RowBox[{
   "examplelklst", "\[LeftDoubleBracket]", "3", "\[RightDoubleBracket]"}]}], 
  "]"}]], "Input",
 CellChangeTimes->{{3.498692439675347*^9, 3.498692484446199*^9}, {
  3.498692596696598*^9, 3.498692611007289*^9}},
 CellLabel->"In[32]:=",
 CellID->339114091],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{"3", ",", "1"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"5", ",", "2"}], "}"}]}], "}"}]], "Output",
 CellChangeTimes->{{3.498692478959027*^9, 3.49869248493991*^9}, {
  3.498692599158105*^9, 3.498692611575051*^9}},
 CellLabel->"Out[32]=",
 CellID->1015324044]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Fold", "[", 
  RowBox[{"ConnectAbsorb", ",", 
   RowBox[{"examplelklst", "\[LeftDoubleBracket]", 
    RowBox[{"{", "1", "}"}], "\[RightDoubleBracket]"}], ",", 
   RowBox[{"examplelklst", "\[LeftDoubleBracket]", 
    RowBox[{"2", ";;"}], "\[RightDoubleBracket]"}]}], "]"}]], "Input",
 CellChangeTimes->{{3.498692844322981*^9, 3.498692895883395*^9}},
 CellLabel->"In[34]:=",
 CellID->1755213457],

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{"1", ",", "3", ",", "4"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{"5", ",", "2"}], "}"}]}], "}"}]], "Output",
 CellChangeTimes->{3.49869289635546*^9},
 CellLabel->"Out[34]=",
 CellID->148521744]
}, Open  ]]
}, Open  ]],

Cell[CellGroupData[{

Cell["More Examples", "ExtendedExamplesSection",
 CellTags->"ExtendedExamples",
 CellID->1854448968],

Cell[BoxData[
 InterpretationBox[Cell["Scope", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1293636265],

Cell[BoxData[
 InterpretationBox[Cell["Generalizations & Extensions", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1020263627],

Cell[CellGroupData[{

Cell[BoxData[
 InterpretationBox[Cell["Options", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->2061341341],

Cell[BoxData[
 InterpretationBox[Cell["XXXX", "ExampleSubsection"],
  $Line = 0; Null]], "ExampleSubsection",
 CellID->1757724783],

Cell[BoxData[
 InterpretationBox[Cell["XXXX", "ExampleSubsection"],
  $Line = 0; Null]], "ExampleSubsection",
 CellID->1295379749]
}, Closed]],

Cell[BoxData[
 InterpretationBox[Cell["Applications", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->258228157],

Cell[BoxData[
 InterpretationBox[Cell["Properties & Relations", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->2123667759],

Cell[BoxData[
 InterpretationBox[Cell["Possible Issues", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1305812373],

Cell[BoxData[
 InterpretationBox[Cell["Interactive Examples", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->1653164318],

Cell[BoxData[
 InterpretationBox[Cell["Neat Examples", "ExampleSection"],
  $Line = 0; Null]], "ExampleSection",
 CellID->589267740]
}, Open  ]]
},
WindowSize->{700, 770},
WindowMargins->{{0, Automatic}, {Automatic, 25}},
CellContext->"Global`",
FrontEndVersion->"7.0 for Linux x86 (32-bit) (February 25, 2009)",
StyleDefinitions->FrontEnd`FileName[{"Wolfram"}, "FunctionPageStyles.nb", 
  CharacterEncoding -> "iso8859-1"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "ExtendedExamples"->{
  Cell[10797, 424, 100, 2, 56, "ExtendedExamplesSection",
   CellTags->"ExtendedExamples",
   CellID->1854448968]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"ExtendedExamples", 12715, 494}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[545, 20, 325, 14, 26, "History",
 CellID->1247902091],
Cell[CellGroupData[{
Cell[895, 38, 68, 1, 30, "CategorizationSection",
 CellID->1122911449],
Cell[966, 41, 79, 2, 70, "Categorization",
 CellID->686433507],
Cell[1048, 45, 79, 2, 70, "Categorization",
 CellID->605800465],
Cell[1130, 49, 76, 2, 70, "Categorization",
 CellID->468444828],
Cell[1209, 53, 69, 1, 70, "Categorization"]
}, Closed]],
Cell[CellGroupData[{
Cell[1315, 59, 55, 1, 20, "KeywordsSection",
 CellID->477174294],
Cell[1373, 62, 45, 1, 70, "Keywords",
 CellID->1164421360]
}, Closed]],
Cell[CellGroupData[{
Cell[1455, 68, 65, 1, 20, "TemplatesSection",
 CellID->1872225408],
Cell[1523, 71, 94, 2, 70, "Template",
 CellID->1562036412],
Cell[1620, 75, 82, 2, 70, "Template",
 CellID->158391909],
Cell[1705, 79, 81, 2, 70, "Template",
 CellID->1360575930],
Cell[1789, 83, 82, 2, 70, "Template",
 CellID->793782254]
}, Closed]],
Cell[CellGroupData[{
Cell[1908, 90, 53, 1, 20, "DetailsSection",
 CellID->307771771],
Cell[1964, 93, 63, 2, 70, "Details",
 CellID->670882175],
Cell[2030, 97, 69, 2, 70, "Details",
 CellID->350963985],
Cell[2102, 101, 64, 2, 70, "Details",
 CellID->8391405],
Cell[2169, 105, 69, 2, 70, "Details",
 CellID->3610269],
Cell[2241, 109, 61, 2, 70, "Details",
 CellID->401364205],
Cell[2305, 113, 61, 2, 70, "Details",
 CellID->350204745],
Cell[2369, 117, 63, 2, 70, "Details",
 CellID->732958810],
Cell[2435, 121, 78, 2, 70, "Details",
 CellID->222905350],
Cell[2516, 125, 67, 2, 70, "Details",
 CellID->240026365]
}, Closed]],
Cell[CellGroupData[{
Cell[2620, 132, 56, 1, 64, "ObjectName",
 CellID->1224892054],
Cell[2679, 135, 592, 12, 110, "Usage",
 CellID->982511436],
Cell[3274, 149, 42, 1, 26, "Notes",
 CellID->1067943069]
}, Open  ]],
Cell[CellGroupData[{
Cell[3353, 155, 57, 1, 44, "TutorialsSection",
 CellID->250839057],
Cell[3413, 158, 45, 1, 17, "Tutorials",
 CellID->341631938]
}, Open  ]],
Cell[CellGroupData[{
Cell[3495, 164, 83, 1, 31, "RelatedDemonstrationsSection",
 CellID->1268215905],
Cell[3581, 167, 58, 1, 17, "RelatedDemonstrations",
 CellID->1129518860]
}, Open  ]],
Cell[CellGroupData[{
Cell[3676, 173, 65, 1, 31, "RelatedLinksSection",
 CellID->1584193535],
Cell[3744, 176, 49, 1, 17, "RelatedLinks",
 CellID->1038487239]
}, Open  ]],
Cell[CellGroupData[{
Cell[3830, 182, 55, 1, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[3888, 185, 213, 4, 17, "SeeAlso",
 CellID->929782353],
Cell[4104, 191, 219, 4, 17, "SeeAlso",
 CellID->1786859412]
}, Open  ]],
Cell[CellGroupData[{
Cell[4360, 200, 57, 1, 31, "MoreAboutSection",
 CellID->38303248],
Cell[4420, 203, 46, 1, 17, "MoreAbout",
 CellID->1665078683]
}, Open  ]],
Cell[CellGroupData[{
Cell[4503, 209, 356, 11, 68, "PrimaryExamplesSection",
 CellID->880084151],
Cell[CellGroupData[{
Cell[4884, 224, 808, 24, 95, "Input",
 CellID->1325140417],
Cell[5695, 250, 1262, 38, 87, "Output",
 CellID->1356564442]
}, Open  ]],
Cell[CellGroupData[{
Cell[6994, 293, 442, 9, 28, "Input",
 CellID->1763481981],
Cell[7439, 304, 485, 13, 26, "Output",
 CellID->1578360862]
}, Open  ]],
Cell[CellGroupData[{
Cell[7961, 322, 227, 5, 28, "Input",
 CellID->1222740815],
Cell[8191, 329, 427, 13, 26, "Output",
 CellID->1171682124]
}, Open  ]],
Cell[CellGroupData[{
Cell[8655, 347, 366, 10, 28, "Input",
 CellID->1270624202],
Cell[9024, 359, 193, 6, 26, "Output",
 CellID->705689351]
}, Open  ]],
Cell[CellGroupData[{
Cell[9254, 370, 438, 11, 28, "Input",
 CellID->339114091],
Cell[9695, 383, 330, 10, 26, "Output",
 CellID->1015324044]
}, Open  ]],
Cell[CellGroupData[{
Cell[10062, 398, 417, 9, 28, "Input",
 CellID->1755213457],
Cell[10482, 409, 266, 9, 26, "Output",
 CellID->148521744]
}, Open  ]]
}, Open  ]],
Cell[CellGroupData[{
Cell[10797, 424, 100, 2, 56, "ExtendedExamplesSection",
 CellTags->"ExtendedExamples",
 CellID->1854448968],
Cell[10900, 428, 125, 3, 34, "ExampleSection",
 CellID->1293636265],
Cell[11028, 433, 148, 3, 22, "ExampleSection",
 CellID->1020263627],
Cell[CellGroupData[{
Cell[11201, 440, 127, 3, 22, "ExampleSection",
 CellID->2061341341],
Cell[11331, 445, 130, 3, 70, "ExampleSubsection",
 CellID->1757724783],
Cell[11464, 450, 130, 3, 70, "ExampleSubsection",
 CellID->1295379749]
}, Closed]],
Cell[11609, 456, 131, 3, 22, "ExampleSection",
 CellID->258228157],
Cell[11743, 461, 142, 3, 22, "ExampleSection",
 CellID->2123667759],
Cell[11888, 466, 135, 3, 22, "ExampleSection",
 CellID->1305812373],
Cell[12026, 471, 140, 3, 22, "ExampleSection",
 CellID->1653164318],
Cell[12169, 476, 132, 3, 22, "ExampleSection",
 CellID->589267740]
}, Open  ]]
}
]
*)

(* End of internal cache information *)
